//
//  ACDetailTableViewCell.m
//  家校互通
//
//  Created by 李赛 on 15/5/29.
//  Copyright (c) 2015年 姬鑫宇. All rights reserved.
//

#import "ACDetailTableViewCell.h"

@implementation ACDetailTableViewCell

- (void)awakeFromNib {
    // Initialization code
    _holdView.layer.masksToBounds=YES;
    _holdView.layer.borderColor=[COLOR(233, 233, 233) CGColor];
    _holdView.layer.borderWidth=0.5;
    
    _headerView.layer.masksToBounds=YES;
    _headerView.layer.borderColor=[COLOR(233, 233, 233) CGColor];
    _headerView.layer.borderWidth=0.5;
}
-(void)setCollectionViewDataSourceDelegate:(id)delgate  contentIndex:(NSInteger)contentIndex  userImageIndex:(NSInteger)userImageIndex
{
    _contentCollectionView.tag=contentIndex;
    _contentCollectionView.dataSource = delgate;
    _contentCollectionView.delegate = delgate;
//    [_contentCollectionView reloadData];
    
    _userImageCollectionView.tag=userImageIndex;
    _userImageCollectionView.dataSource = delgate;
    _userImageCollectionView.delegate = delgate;
    [_userImageCollectionView reloadData];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
